<template>
	<view class="index-activity-pic public345">
		<view class="act-pic-left">
			<image class="image" :src="imagesUrl('act-left.png')" mode="widthFix"
				@click="goTo('/pages/enjoyspace/EnjoySpace')" />
		</view>
		<view class="act-pic-right">
			<image class="image" :src="imagesUrl('act-right-1.png')" mode="widthFix" />
			<image class="image" :src="imagesUrl('act-right-2.png')" mode="widthFix" />
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {
			goTo(url) {
				uni.navigateTo({
					url
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
	// 活动图片
	.index-activity-pic {
		display: flex;
		padding-top: 32rpx;
		padding-bottom: 32rpx;
		margin-top: 18rpx;
		background: linear-gradient(180deg, #FFFFFF 0%, rgba(253, 253, 253, 0.00) 100%);

		.image {
			width: 336rpx;
			vertical-align: middle;
		}

		.act-pic-left {
			margin-right: 18rpx;

			.image {
				height: 396rpx;
			}
		}

		.act-pic-right .image {
			height: 188rpx;

			&:nth-child(1) {
				margin-bottom: 18rpx;
			}
		}
	}
</style>
